#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
IR 语句节点模块

包含所有语句相关的 IR 节点定义
"""

# 基础语句类
from .base import IRStmt, IRStmtBlock

# 控制流语句节点
from .control import IRReturn, IRBreak, IRContinue, IRIf, IRForRange, IRForEach, IRWhile

# 赋值语句节点
from .assignment import IRAssign, IRAugAssign

# 表达式语句节点
from .expression import IRExprStmt

# global 和 nonlocal 语句节点
from .global_stmt import IRGlobal, IRNonlocal

# delete 语句节点
from .delete import IRDelete

# pass 语句节点
from .pass_stmt import IRPass

# 异常处理语句节点
from .exception import IRRaise, IRTryExcept, IRExceptionHandler

__all__ = [
    # 基础语句类
    "IRStmt",
    "IRStmtBlock",
    # 控制流语句节点
    "IRReturn",
    "IRIf",
    "IRForRange",
    "IRForEach",
    "IRWhile",
    "IRBreak",
    "IRContinue",
    # 赋值语句节点
    "IRAssign",
    "IRAugAssign",
    # 表达式语句节点
    "IRExprStmt",
    # global 和 nonlocal 语句节点
    "IRGlobal",
    "IRNonlocal",
    # delete 语句节点
    "IRDelete",
    # pass 语句节点
    "IRPass",
    # 异常处理语句节点
    "IRRaise",
    "IRTryExcept",
    "IRExceptionHandler",
]
